package com.gs.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @title: 孙杨申
 * @date 2022/6/4 16:45
 */

@ApiModel(description = "文件")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OssFile {

    @ApiModelProperty(value = "文件名",  position = 1)
    private String fileName;

    @ApiModelProperty(value = "文件大小",  position = 2)
    private Long size;

    @ApiModelProperty(value = "最后修改时间",  position = 3)
    private LocalDateTime lastModified;

    @ApiModelProperty(value = "是否是目录",  position = 4)
    private Boolean dir;

}
